<?php
class M_changepassword extends CI_Model{

	function ubah_password($data){
		$this->db->where('user_id',$_SESSION[SESSION_USERID]);
		$this->db->update('s_users',$data);
		echo 1;
	}
	
}